﻿using System;

namespace FunctionalCLR.Core.Function.DateTime {

    /// <summary>
    /// echo(time());
    /// </summary>
    public class TimeNode : FuncNode {

        public TimeNode() {
            Value = "time";
        }

        public override object Evaluate() {
            return System.DateTime.Today.TimeOfDay.ToString();
        }
    }
}
